package com.fap.core.bo;

import com.fap.core.bo.BusinessObject;
import com.fap.core.bo.meta.BoMeta;
import com.fap.core.data.impl.BaseEntity;

public class BusinessObject extends BaseEntity {

	public static BoActionMapper action;
	
	private BoMeta _meta;	
	
	private String id;
	private String field1;
	private String field2;
	private String field3;
	private String field4;
	private String field5;
	
	public BusinessObject(){
	}
	
	public BusinessObject(BoMeta meta) {
		super();
		_meta = meta;
	}

	public BoMeta getMeta(){
		return _meta;
	}

	public void update(){
		BusinessObject.action.update(this);
	}	
	
	@Override
	public String getId() {
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public String getField1() {
		return field1;
	}

	public void setField1(String field1) {
		this.field1 = field1;
	}

	public String getField2() {
		return field2;
	}

	public void setField2(String field2) {
		this.field2 = field2;
	}

	public String getField3() {
		return field3;
	}

	public void setField3(String field3) {
		this.field3 = field3;
	}

	public String getField4() {
		return field4;
	}

	public void setField4(String field4) {
		this.field4 = field4;
	}

	public String getField5() {
		return field5;
	}

	public void setField5(String field5) {
		this.field5 = field5;
	}
	
	
	
}
